//==============================================================================
// Minion_anim.txt
// Fixed the missing eclipse SFX(death)~WarriorMario
//==============================================================================

import Egyptian_Skeleton_Shield_anim.txt

//==============================================================================
define FlameAxe
{
	SetSelector
	{
		TechLogic none/Flaming Weapons Active
		set hotspot
		{
			version
			{
				Visualnone jimmy
			}
		}
		set hotspot
		{
			version
			{
				Visualparticle SFX A Flaming Axe
			}
		}
	}
}

//==============================================================================
define FlameSword
{
	SetSelector
	{
		TechLogic none/Flaming Weapons Active
		set hotspot
		{
			version
			{
				Visualnone jimmy
			}
		}
		set hotspot
		{
			version
			{
				Visualparticle SFX A Flaming Sword
			}
		}
	}
}

//==============================================================================
define AtefCrown
{
	SetSelector
	{
		TechLogic none/Atef Crown
		set hotspot
		{
			version
			{
				Visualnone jimmy
			}
		}
		set hotspot
		{
			version
			{
				Visualparticle Special E Mummy Flies
			}
		}
	}
}

//==============================================================================
define Weapon
{
	SetSelector
	{
		VariationLogic
		SetSelector
		{
			TechLogic none/Age 2/Age 3/Age 4
			set hotspot
			{
				version
				{
					Visual Attachments E Axe 2handed Standard
					connect ATTACHPOINT FlameAxe hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Attachments E Axe 2handed Copper
					connect ATTACHPOINT FlameAxe hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Attachments E Axe 2handed Bronze
					connect ATTACHPOINT FlameAxe hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Attachments E Axe 2handed Iron
					connect ATTACHPOINT FlameAxe hotspot
				}
			}
		}
		SetSelector
		{
			TechLogic none/Age 2/Age 3/Age 4/Hammer of the Gods
			set hotspot
			{
				version
				{
					Visual attachments e camelry khopesh
					connect ATTACHPOINT FlameSword hotspot
				}
			}			
			set hotspot
			{
				version
				{
					Visual attachments e camelry khopesh
				ReplaceTexture attachments e khopesh Callistonian standard/attachments e khopesh Callistonian Copper
					connect ATTACHPOINT FlameSword hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual attachments e camelry khopesh
				ReplaceTexture attachments e khopesh Callistonian standard/attachments e khopesh Callistonian Bronze
					connect ATTACHPOINT FlameSword hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual attachments e camelry khopesh
				ReplaceTexture attachments e khopesh Callistonian standard/attachments e khopesh Callistonian Iron
					connect ATTACHPOINT FlameSword hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual attachments e camelry khopesh
				ReplaceTexture attachments e khopesh Callistonian standard/attachments e khopesh Callistonian Gold
					connect ATTACHPOINT FlameSword hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Attachments A scythe
					connect ATTACHPOINT FlameAxe hotspot
				}
			}
		}
	}
}

//==============================================================================
define eclipseSFX
{
   SetSelector
   {
		TechLogic none/Eclipse Active
		set hotspot
		{
			version
			{
			  Visualnone jimmy
			}
		}
		set hotspot
		{
			version
			{
			  Visualparticle SFX A Eclipse Unit effect
			}
		}		    
   }
}

//==============================================================================
define birthrocks
{
	SetSelector none
	{
		set hotspot
		{
			version
			{
				Visualparticle Special E Minion Birth Rocks
			}
		}
	}
}

//==============================================================================
anim Birth
{
   SetSelector none
   {
      set hotspot
      {
         version
         {
            Visual Special E Minion_BirthA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag SpecificSoundSet 0.00 false MinionBirth checkVisible
            tag SpecificSoundSet 0.67 false RaiseSkeleton checkVisible
//-- end auto generated section
            connect righthand weapon hotspot
            connect leftforearm EgyptianSkeletonShield hotspot
			connect ATTACHPOINT birthrocks hotspot
            connect BACKCHEST atefcrown hotspot
			connect hotspot eclipseSFX hotspot
         }
      }
   }
}

//==============================================================================
anim Idle
{
   SetSelector none
   {
      set hotspot
      {
         version
         {
            Visual Special E Minion_idleA
            connect righthand weapon hotspot
            connect leftforearm EgyptianSkeletonShield hotspot
            connect BACKCHEST atefcrown hotspot
			connect hotspot eclipseSFX hotspot
         }
      }
   }
}

//==============================================================================
anim Flail
{
   SetSelector none
   {
      set hotspot
      {
         version
         {
            Visual Special E Minion_FlailA
            connect righthand weapon hotspot
            connect leftforearm EgyptianSkeletonShield hotspot
            connect BACKCHEST atefcrown hotspot
			connect hotspot eclipseSFX hotspot
         }
      }
   }
}

//==============================================================================
anim Walk
{
	SetSelector none
	{
		set hotspot
		{
			version
			{
				Visual Special E Minion_walkA
				connect righthand weapon hotspot
				connect leftforearm EgyptianSkeletonShield hotspot
				tag FootstepLeft 0.30 true   
				tag FootstepRight 0.80 true   
				connect hotspot eclipseSFX hotspot
				connect BACKCHEST atefcrown hotspot
			}
		}
	}
}

//==============================================================================
anim Bored
{
   SetSelector none
   {
	   SetSelector
		{
			VariationLogic
			set hotspot
			{
				version
				{
					Visual Special E Minion_boredA
					connect righthand weapon hotspot
					connect leftforearm EgyptianSkeletonShield hotspot
					connect hotspot eclipseSFX hotspot
					connect BACKCHEST atefcrown hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Special E Minion_boredB
					connect righthand weapon hotspot
					connect leftforearm EgyptianSkeletonShield hotspot
					connect hotspot eclipseSFX hotspot
					connect BACKCHEST atefcrown hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Death
{
	SetSelector
	{
		VariationLogic
		set hotspot
		{
			version
			{
				Visual Special E Minion_deathA
				connect righthand weapon hotspot
				connect leftforearm EgyptianSkeletonShield hotspot
				connect hotspot eclipseSFX hotspot
				connect BACKCHEST atefcrown hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Special E Minion_deathb
				connect righthand weapon hotspot
				connect leftforearm EgyptianSkeletonShield hotspot
				connect hotspot eclipseSFX hotspot
				connect BACKCHEST atefcrown hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Special E Minion_deathc
				connect righthand weapon hotspot
				connect leftforearm EgyptianSkeletonShield hotspot
				connect hotspot eclipseSFX hotspot
				connect BACKCHEST atefcrown hotspot
			}
		}
	}
}

//==============================================================================
anim Attack
{
	SetSelector
	{
		VariationLogic
		set hotspot
		{
			version
			{
				Visual Special E Minion_attackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.47 true   
				tag GenericSound 0.40 true   
//-- end auto generated section
				connect righthand weapon hotspot
				connect leftforearm EgyptianSkeletonShield hotspot
				connect hotspot eclipseSFX hotspot
				connect BACKCHEST atefcrown hotspot
			}
		} 
		set hotspot
		{
			version
			{
				Visual Special E Minion_attackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.29 true   
				tag GenericSound 0.40 true   
//-- end auto generated section
				connect righthand weapon hotspot
				connect leftforearm EgyptianSkeletonShield hotspot
				connect hotspot eclipseSFX hotspot
				connect BACKCHEST atefcrown hotspot
			}
		}
	}
}
